home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2002 #3
/
Amiga Plus CD - 2002 - No. 03.iso
/
AmiSoft
/
Biz
/
Patch
/
Nc21.lha
/
2.1
/
AmIRC
/
Rexx
/
barescript.amirx
next >
Wrap
Text File
|
1997-03-26
|
918b
|
38 lines
/* this is an example AmIRC script that includes many important
** functions and could help you build a script.
** Feel free to remove comments/unwanted features
*/
Options Results /* Enable rc/result return codes */
signal on syntax /* Enables syntax checking */
script='Sample' /* Prefix for echos */
colour=3 /* Colour fo echos */
/* Begin */
/* End */
exit
/* Shared Functions */
bold: /* This function bolds text*/
return '02'x||arg(1)||'02'x
underline: /* This function underlines text*/
return '1F'x||arg(1)||'1F'x
inverse: /* This function inverses text*/
return '16'x||arg(1)||'16'x
cecho: /* This function echo's text to listview*/
"ECHO P="d2c(27)"b«"script"» C="colour arg(1)
return 0
syntax: /* This function returns where you made a syntax error */
cecho("Command on line" SIGL "returned" RC ":" errortext(rc) sourceline(SIGL))
exit